﻿using MediatR;
using ProductionManagement.Domain.Dtos.Dispathch;
using ProductionManagement.Dto;

namespace ProductionManagement.Application.Command.DispatchCommand
{
    //派工显示
    public class ShowDispatchCommand : IRequest<PageDto<ShowDispathchDTO>>
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }
        /// <summary>
        /// 生产派工主题
        /// </summary>

        public string? DisTopic { get; set; }
        /// <summary>
        /// 被派工人员
        /// </summary>
        public string? ManpowerName { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? PName { get; set; }

        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? STime { get; set; }
        public DateTime? ETime { get; set; }



        // 计划开工日期
        public DateTime? SDPStartDate { get; set; }
        public DateTime? EDPStartDate { get; set; }
        // 计划完工日期
        public DateTime? DPEndDate { get; set; }
        public DateTime? EPEndDate { get; set; }

        // 交货日期
        public DateTime? SDDeliveryDate { get; set; }
        public DateTime? EDDeliveryDate { get; set; }

        /// <summary>
        /// 生产派工编号
        /// </summary>
        public string? DNumber { get; set; }

        /// <summary>
        /// 派工状态
        /// </summary>
        public int? DState { get; set; }

        /// <summary>
        /// 领料状态
        /// </summary>
        public int? DPickState { get; set; }

    }
}
